#include <iostream>
#include <string>
using namespace std;

class Person{
protected:
  string _name= "张三";
  string _id = "111";
  int _age = 18;

public:
  void Print(){
    cout << _name << " ";
    cout << _id << " ";
    cout << _age << endl;
  }
};

class Student : public Person{
  string _id = "999";
public:
  void Print(){
    cout << "学号:" << _id << endl;
    cout << "身份证号:" << Person::_id << endl;
  }
};


void Test3(){
  Student s;
  s.Print();
  s.Person::Print();
}

int main(){
  Test3();
  return 0;
}
